#pragma once
#include <iostream>
using namespace std;

class Point
{
private:
double x;
double y;

public:
	Point(double x=0,double y=0) : x(x),y(y) {}
	double getX() {return x;}
	double getY() {return y;}

	void setX(double a) { x = a; }
	void setY(double a) { y = a; }

	friend ostream & operator<<(ostream & os,Point & p)
	{
		os<<"X="<<p.getX()<<" ,Y="<<p.getY()<<endl;
		return os;
	}

};
